<?php
include_once 'ZCollection.php';

class ZThreadCollection extends ZCollection {

    /**
     * @param $index Thread Index
     * @return ZThreadItem
     */
    public function getIndex($index){
        return $this->items[$index];
    }

    /**
     * @param $item ZThreadItem
     */
    public function addItem($item){
        $this->items[] = $item;
    }
}
?>